home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / OpenDoc Parts Framework / OPF / Examples / Clock / Include / ClockSel.h < prev   
Encoding:
Text File  |  1994-04-21  |  2.0 KB  |  63 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                ClockSel.h
  4. //    Release Version:    $ 1.0d1 $
  5. //
  6. //    Author:                Lonnie Millett
  7. //    Creation Date:        3/28/94
  8. //
  9. //    Copyright:    © 1993, 1994 by Apple Computer, Inc., all rights reserved.
  10. //
  11. //========================================================================================
  12.  
  13. #ifndef CLOCKSEL_H
  14. #define CLOCKSEL_H
  15.  
  16. // ----- FrameWork Includes -----
  17.  
  18. #ifndef FWSELECT_H
  19. #include <FWSelect.h>
  20. #endif
  21.  
  22. //==============================================================================
  23. //    •• Forward Declarations
  24. //==============================================================================
  25.  
  26. class CClockPart;
  27. class FW_CFacet;
  28.  
  29. //==============================================================================
  30. //    •• class CClockSelection
  31. //==============================================================================
  32.  
  33. class CClockSelection : public FW_CSelection
  34. {
  35.     
  36. //------------------------------------------------------------------------------
  37. //    • Initialization/Destruction
  38. //------------------------------------------------------------------------------
  39. public:
  40.                 CClockSelection();
  41.     void        InitClockSelection(CClockPart* clockPart);
  42.     virtual     ~CClockSelection();
  43.     
  44. //------------------------------------------------------------------------------
  45. //    • Inherited API
  46. //------------------------------------------------------------------------------
  47. public:
  48.     virtual void        CloseSelection();
  49.     virtual void        SelectAll();
  50.     virtual FW_Boolean    IsEmpty() const;
  51.     virtual FW_Boolean    DoClear();
  52.     
  53.     virtual void        ExternalizeSelection(XMPStorageUnit* storageUnit, FW_CFrame* commandFrame, XMPCloneKind cloneKind);
  54.     virtual FW_Boolean    InternalizeSelection(XMPStorageUnit* storageUnit, XMPCloneKind cloneKind);
  55.  
  56. //------------------------------------------------------------------------------
  57. //    • Data Members
  58. //------------------------------------------------------------------------------
  59. private:
  60.     CClockPart*            fClockPart;
  61. };
  62.  
  63. #endif